package com.sysu.homework.DAO;

import java.util.List;

import com.sysu.homework.model.HomeworkResult;

public interface HomeworkResultDAO {
	int saveOrUpdate(HomeworkResult homeworkResult);
	HomeworkResult getHomeworkResultByFilename(String filename);
	List<HomeworkResult> getHomeworkResults();
	List<HomeworkResult> getHomeworkResultsByStudentId(int studentid);
	List<HomeworkResult> getHomeworkResultsByGroupId(int groupid);
	boolean isExistsResult(int homeworkid, int studentid);
	
}
